package com.leyou.auth.config;

import lombok.Data;
import org.bouncycastle.cms.PasswordRecipientId;
import org.omg.CORBA.PRIVATE_MEMBER;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@ConfigurationProperties(prefix = "ly.auth")

public class ClientProperties {
    //服务id
    private String clientId;
    //服务的密码
    private String secret;
    //一旦抽取出来，重试时间忘记设置，那样就可用写死，或者给一个默认值
    private Long retryInterval=10000L;
    //拦截的路径
    private List<String> includePathPattern;
    //拦截的路径
    private List<String> excludePathPattern;

}
